Package | ca.bc.bcy-ids |
Type | StructureDefinition |
Id | Id |
FHIR Version | R4 |
Source | https://simplifier.net/resolve?scope=ca.bc.bcy-ids@1.0.0&canonical=http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RiskAssessment |
Url | http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RiskAssessment |
Status | draft |
Name | RiskAssessment |
Experimental | False |
Type | RiskAssessment |
Kind | resource |
No resources found
StructureDefinition | |
http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/riskFactor-status ![]() | RiskFactorStatusExtension |
{
"resourceType" : "StructureDefinition",
"url" : "http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RiskAssessment",
"name" : "RiskAssessment",
"status" : "draft",
"fhirVersion" : "4.0.1",
"kind" : "resource",
"abstract" : false,
"type" : "RiskAssessment",
"baseDefinition" : "http://hl7.org/fhir/StructureDefinition/RiskAssessment",
"derivation" : "constraint",
"differential" : {
"element" : [
{
"id" : "RiskAssessment",
"path" : "RiskAssessment",
"short" : "FHIR resource applies for PIR Risk Factors",
"definition" : "FHIR resource applies for PIR Risk Factors. Note: Only Risk Factor wtih Response = \"YES\" and Reason ends with '*' in PIR will be sent in IDS."
},
{
"id" : "RiskAssessment.id",
"path" : "RiskAssessment.id",
"short" : "PIR internal Risk Factor ID + External Risk Factor ID from source system(s)",
"definition" : "PIR internal Risk Factor Identifier + External Risk Factor ID from source system(s)",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "RISK_FACTORS.RISK_FACTOR_ID"
},
{
"identity" : "source-PHSL",
"map" : "riskFactorId"
}
]
},
{
"id" : "RiskAssessment.meta",
"path" : "RiskAssessment.meta",
"min" : 1
},
{
"id" : "RiskAssessment.meta.versionId",
"path" : "RiskAssessment.meta.versionId",
"comment" : "Apply \"2025.01.1\". This indicates the FHIR Specs as of year 2025 Jan"
},
{
"id" : "RiskAssessment.meta.lastUpdated",
"path" : "RiskAssessment.meta.lastUpdated",
"comment" : "Updated: Relax the previously crossed-out elements."
},
{
"id" : "RiskAssessment.meta.profile",
"path" : "RiskAssessment.meta.profile",
"comment" : "Apply \"http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/RiskAssessment\"",
"min" : 1,
"max" : "1"
},
{
"id" : "RiskAssessment.meta.security",
"path" : "RiskAssessment.meta.security",
"max" : "1"
},
{
"id" : "RiskAssessment.meta.tag",
"path" : "RiskAssessment.meta.tag",
"max" : "1"
},
{
"id" : "RiskAssessment.contained",
"path" : "RiskAssessment.contained",
"max" : "1"
},
{
"id" : "RiskAssessment.extension:riskFactorStatusExtension",
"path" : "RiskAssessment.extension",
"sliceName" : "riskFactorStatusExtension",
"short" : "Risk Factor Deletion Reason",
"definition" : "Risk Factor Deletion Reason",
"comment" : "To be applied to send if Risk Factor has been end-dated in PIR and/or Risk Factor has been deleted in PIR",
"max" : "1",
"type" : [
{
"code" : "Extension",
"profile" : [
"http://ehealth.bc.ca/fhir/StructureDefinition/bc-bcyimmunizationdistribution/riskFactor-status"
]
}
]
},
{
"id" : "RiskAssessment.extension:riskFactorStatusExtension.extension:RFendDateReason",
"path" : "RiskAssessment.extension.extension",
"sliceName" : "RFendDateReason",
"comment" : "To be applied to send if Risk Factor has been end-dated in PIR"
},
{
"id" : "RiskAssessment.extension:riskFactorStatusExtension.extension:RFdeleteReason",
"path" : "RiskAssessment.extension.extension",
"sliceName" : "RFdeleteReason",
"short" : "Risk Factor End-Dated Reason = \"Other, specify\"",
"definition" : "Risk Factor End-Dated Reason = \"Other, specify\"",
"comment" : "To be applied to send if Risk Factor has been deleted in PIR with reason found in PIR drop-down list or NO delete reason provided. See Mappings.",
"mapping" : [
{
"identity" : "source-PIR-nullReason",
"map" : "Other"
}
]
},
{
"id" : "RiskAssessment.extension:riskFactorStatusExtension.extension:RFdeleteReasonOther",
"path" : "RiskAssessment.extension.extension",
"sliceName" : "RFdeleteReasonOther",
"comment" : "To be applied to send if Risk Factor has been deleted in PIR with reason not found in PIR drop-down list or NO deletion reason provided. See Mappings.",
"mapping" : [
{
"identity" : "source-PIR-null",
"map" : "unknown"
}
]
},
{
"id" : "RiskAssessment.identifier",
"path" : "RiskAssessment.identifier",
"short" : "PIR internal Risk Factor ID + External Risk Factor ID",
"definition" : "PIR internal Risk Factor ID and/or External Risk Factor ID sent from source system(s)",
"min" : 1,
"max" : "1"
},
{
"id" : "RiskAssessment.identifier.type.coding",
"path" : "RiskAssessment.identifier.type.coding",
"max" : "1"
},
{
"id" : "RiskAssessment.identifier.type.text",
"path" : "RiskAssessment.identifier.type.text",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "PANORAMARISKFACTORID"
}
]
},
{
"id" : "RiskAssessment.identifier.system",
"path" : "RiskAssessment.identifier.system",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "https://health.gov.bc.ca/fhir/NamingSystem/ca-bc-panorama-risk-factor-id"
}
]
},
{
"id" : "RiskAssessment.identifier.value",
"path" : "RiskAssessment.identifier.value",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "RISK_FACTORS.RISK_FACTOR_ID"
},
{
"identity" : "source-PHSL",
"map" : "riskFactorId"
}
]
},
{
"id" : "RiskAssessment.status",
"path" : "RiskAssessment.status",
"short" : "PIR applies statuses : final | canceled |",
"definition" : "PIR applies statuses : final | canceled |",
"comment" : "See Mappings",
"mapping" : [
{
"identity" : "source-PIR-final",
"map" : "final"
},
{
"identity" : "source-PIR-deleted",
"map" : "cancelled"
}
]
},
{
"id" : "RiskAssessment.subject.reference",
"path" : "RiskAssessment.subject.reference",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "fullURL of Panorama + \"Patient\" + PIR Client ID"
}
]
},
{
"id" : "RiskAssessment.occurrence[x]",
"path" : "RiskAssessment.occurrence[x]",
"short" : "Risk Factor Date Reported",
"definition" : "Risk Factor Date Reported",
"comment" : "See Mappings",
"min" : 1,
"type" : [
{
"code" : "dateTime"
}
],
"mapping" : [
{
"identity" : "source-PIR",
"map" : "RISK_FACTORS.REPORTED_DATE"
},
{
"identity" : "source-PHSL",
"map" : "reportedDate"
}
]
},
{
"id" : "RiskAssessment.occurrence[x].id",
"path" : "RiskAssessment.occurrence[x].id",
"max" : "0"
},
{
"id" : "RiskAssessment.reasonCode",
"path" : "RiskAssessment.reasonCode",
"max" : "1"
},
{
"id" : "RiskAssessment.reasonReference",
"path" : "RiskAssessment.reasonReference",
"max" : "1"
},
{
"id" : "RiskAssessment.basis",
"path" : "RiskAssessment.basis",
"max" : "1"
},
{
"id" : "RiskAssessment.prediction",
"path" : "RiskAssessment.prediction",
"short" : "Risk Factor PIR Code and Description",
"definition" : "Risk Factor PIR Code and Description",
"min" : 1
},
{
"id" : "RiskAssessment.prediction.outcome",
"path" : "RiskAssessment.prediction.outcome",
"comment" : "For IDS Phase 5.2: Only send code with description ends with (*)",
"min" : 1
},
{
"id" : "RiskAssessment.prediction.outcome.coding",
"path" : "RiskAssessment.prediction.outcome.coding",
"min" : 1,
"max" : "1"
},
{
"id" : "RiskAssessment.prediction.outcome.coding.system",
"path" : "RiskAssessment.prediction.outcome.coding.system",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "https://fhir.infoway-inforoute.ca/NamingSystem/ca-bc-panorama-code"
}
]
},
{
"id" : "RiskAssessment.prediction.outcome.coding.code",
"path" : "RiskAssessment.prediction.outcome.coding.code",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "BCYREPORTNG.RBCY_FN_GET_CONCEPT_CODE (RISK_FACTORS.RISK_FACTOR_CODE_CNCPT_ID)"
},
{
"identity" : "source-PHSL",
"map" : "riskFactorCode"
}
]
},
{
"id" : "RiskAssessment.prediction.outcome.coding.display",
"path" : "RiskAssessment.prediction.outcome.coding.display",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "REPORTNG.GET_ITERM_DESC(RISK_FACTORS.RISK_FACTOR_CODE_CNCPT_ID)"
},
{
"identity" : "source-PHSL",
"map" : "riskFactorDescription"
}
]
},
{
"id" : "RiskAssessment.prediction.when[x]",
"path" : "RiskAssessment.prediction.when[x]",
"short" : "Risk Factor Timeframe",
"definition" : "Risk Factor Timeframe: Start Date, End Date",
"type" : [
{
"code" : "Period"
}
]
},
{
"id" : "RiskAssessment.prediction.when[x].start",
"path" : "RiskAssessment.prediction.when[x].start",
"comment" : "See Mappings",
"mapping" : [
{
"identity" : "source-PIR",
"map" : "RISK_FACTORS.START_DATE"
},
{
"identity" : "source-PHSL",
"map" : "effectiveFromDate"
}
]
},
{
"id" : "RiskAssessment.prediction.when[x].end",
"path" : "RiskAssessment.prediction.when[x].end",
"comment" : "See Mappings",
"mapping" : [
{
"identity" : "source-PIR",
"map" : "RISK_FACTORS.END_DATE"
},
{
"identity" : "source-PHSL",
"map" : "effectiveTo"
}
]
},
{
"id" : "RiskAssessment.prediction.rationale",
"path" : "RiskAssessment.prediction.rationale",
"short" : "Risk Factor RESPONSE in PIR",
"definition" : "Risk Factor RESPONSE in PIR. Possible RESPONSE values are \"Asked but Unknown\" / \"Declined to answer\" / \"Entered in error\" / \"Yes\" / \"No\" / \"Not assessed\", but only Response = YES will be send in IDS.",
"comment" : "See Mappings",
"min" : 1,
"mapping" : [
{
"identity" : "source-PIR",
"map" : "BCYREPORTNG.RBCY_FN_GET_CONCEPT_CODE (RISK_FACTORS.RISK_FACTOR_RESP_CODE_CNCPT_ID) + \" - \"+REPORTNG.GET_ITERM_DESC(RISK_FACTORS.RISK_FACTOR_RESP_CODE_CNCPT_ID)"
},
{
"identity" : "source-PHSL",
"map" : "riskFacotrResponse"
}
]
},
{
"id" : "RiskAssessment.note",
"path" : "RiskAssessment.note",
"short" : "Risk Factor Comments",
"definition" : "Additional comments about the risk factor",
"max" : "1"
},
{
"id" : "RiskAssessment.note.id",
"path" : "RiskAssessment.note.id",
"max" : "0"
},
{
"id" : "RiskAssessment.note.author[x]",
"path" : "RiskAssessment.note.author[x]",
"max" : "0"
},
{
"id" : "RiskAssessment.note.text",
"path" : "RiskAssessment.note.text",
"comment" : "See Mappings",
"mapping" : [
{
"identity" : "source-PIR",
"map" : "RISK_FACTORS.OTHER_RISK_FACTOR"
},
{
"identity" : "source-PHSL",
"map" : "additionalInformation"
}
]
}
]
},
"text" : {
}
}
XIG built as of ??metadata-date??. Found ??metadata-resources?? resources in ??metadata-packages?? packages.